#pragma once

#include <HAPI/HAPI.h>
#include <HAPI/HAPIForceEffect.h>
#include <HAPI/HAPIHapticsDevice.h>

namespace HAPI
{
	class RepelForceEffect: public HAPIForceEffect {
	protected:
		Vec3 pos;
		HAPIFloat radius;
		HAPIFloat force;

		EffectOutput calculateForces(const EffectInput &input);

	public:
		RepelForceEffect(const Vec3 &_pos, HAPIFloat _force, HAPIFloat _radius);
	};
}